package com.shujia.dao;


import com.shujia.service.TestService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//@Component
@Service(value = "test")    //默认生成对象的名字是实现类的首字母小写
public class TestServiceImpl implements TestService {
    @Override
    public String say(String s) {
        return "数加科技,yyds! "+s;
    }
}
